import request from '@/utils/request'

// 登录
export const login = data => request({
  method: 'POST',
  url: '/sys/login',
  data
})

// 获取用户基本资料
export const getUserInfo = () => request({
  url: 'sys/profile',
  method: 'post'
})
